<%
    /**
     * 翻页器
     *  将当前request里面的查询和页号保存下来
     */
%>
<%
    Object[] keys = request.getParameterMap().keySet().toArray();
    
%>
<form id="pageNumForm" name="pageNumForm" method="get" action="<%= ControllerURL%>">
<%
    for(int i = 0; i < keys.length; i ++)
    {
        Object key = keys[i];
        String[] values = (String[])request.getParameterMap().get(key);
        for(int j = 0; j < values.length; j ++)
        {
            %><input type="hidden" id="<%= key%>" name="<%= key%>" value="<%= values[j]%>"><%
        } // for ( j
    }// for ( i
%>
<%
    int currPageNum = 1;
    if(request.getParameter("currPageNum") == null)
    {
        %><input type="hidden"  name="currPageNum" value="1"><%
    } // if
    else
    {
        currPageNum = Integer.parseInt(request.getParameter("currPageNum"));
    }
%>
</form>
